package cn.stylefeng.guns.modular.system.service.impl;

import cn.stylefeng.guns.modular.system.dao.TestMapper;
import cn.stylefeng.guns.modular.system.entity.SysTest;
import cn.stylefeng.guns.modular.system.service.TestService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TestServiceImpl extends ServiceImpl<TestMapper, SysTest> implements TestService {

//    @Resource
    @Autowired(required = false)
    private TestMapper testMapper;

    @Override
    public SysTest getTest(Integer id) {
        return testMapper.getTest(id);
    }



}
